
const refresh = {
  state: {
    isref: 0
  },

  mutations: {
    SET_ISREF: (state, isref) => {
      state.isref = isref
    }
  },

  actions: {
    doRef({ commit }) {
      commit('SET_ISREF', 1)
    },
    doEndRef({ commit }) {
      commit('SET_ISREF', 0)
    }
  }
}

export default refresh
